Skip to content

esutil: Modify the BulkIndexerConfig.Client type to esapi.Transport#957

Merged
Anaethelion merged 1 commit intoelastic:mainfrom
zaneli:feature/bulk_indexer_client
Apr 17, 2025
Merged

esutil: Modify the BulkIndexerConfig.Client type to esapi.Transport#957
Anaethelion merged 1 commit intoelastic:mainfrom
zaneli:feature/bulk_indexer_client

Conversation

@zaneli
Copy link
Copy Markdown
Contributor

@zaneli zaneli commented Feb 24, 2025

Now, when using a pre-declared TypedClient, a separate Client instance had to be created via NewClient to pass it to BulkIndexerConfig.

To improve usability, this change updates the type of BulkIndexerConfig.Client to esapi.Transport, allowing both Client and TypedClient to be passed directly.

@cla-checker-service
Copy link
Copy Markdown

cla-checker-service Bot commented Feb 24, 2025

💚 CLA has been signed

@zaneli zaneli marked this pull request as draft February 24, 2025 14:42
@zaneli zaneli marked this pull request as ready for review February 24, 2025 14:43
Copy link
Copy Markdown
Contributor

@Anaethelion Anaethelion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for raising this.

@Anaethelion Anaethelion merged commit a2fc00c into elastic:main Apr 17, 2025
1 check passed
Anaethelion added a commit that referenced this pull request Apr 17, 2025
…t` (#957) (#998)

Co-authored-by: Shunsuke Otani <shun.otani@gmail.com>
Anaethelion added a commit that referenced this pull request Apr 17, 2025
…t` (#957) (#1000)

Co-authored-by: Shunsuke Otani <shun.otani@gmail.com>
Anaethelion added a commit that referenced this pull request Apr 17, 2025
…t` (#957) (#999)

Co-authored-by: Shunsuke Otani <shun.otani@gmail.com>
@zaneli zaneli deleted the feature/bulk_indexer_client branch April 18, 2025 00:48
@MattDevy MattDevy mentioned this pull request Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants